package com.demo.apparel.dto.uniapp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;

@Data
@Schema(description = "微信登录请求参数")
public class WxLoginDTO {

    @NotBlank(message = "code不能为空")
    private String code;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "头像URL")
    private String avatar;
}
